import { defineComponent, PropType } from 'vue';
import { MainLayouts } from '../../layouts/MainLayouts';
import { Icon } from '../../shared/Icon';
import { TagForm } from './tagForm';
export const TagCreate = defineComponent({
    props: {
        name: {
            type: String as PropType<string>
        }
    },
    setup: (props, context) => {
        return () => (
            <MainLayouts>{{
                title: () => "新建标签",
                icon: () => < Icon name="left" />,
                default: () => (
                    <TagForm />
                )
            }
            }</MainLayouts >
        )
    }
})